#include "main.h"
#include "actor.h"

#pragma once

Actor *a_pInstance;

__declspec(dllexport) void ExecDLL()
{
	a_pInstance = new Actor();
}

BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID /*lpvReserved*/)
{
	switch(fdwReason)
	{
		case DLL_PROCESS_ATTACH:
		{
			DisableThreadLibraryCalls(hinstDLL);
        new Actor();
			break;
		}
		case DLL_PROCESS_DETACH:
		{
			break;
		}
	}
	return true;
}